package com.dippy.common;

import org.springframework.stereotype.Component;

/**
 * 返回的状态码
 */
@Component
public class ResponseCode {

    public int getSuccessCode() {
        return 200;
    }

    public int getErrorCode() {
        return 400;
    }

    public int getAuthErrorCode() {
        return 401;
    }
}
